using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using Objects;
using BAL;

public partial class Customer_UCControls_UCLoaiThe : System.Web.UI.UserControl
{

    public static List<DangKy> ListDangKy = new List<DangKy>();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            GetLoaiThe();
        }

        ListDangKy = (List<DangKy>)Session["ListDangKy"];
        Session.Add("ListDangKy", ListDangKy);
    }

    public static List<LoaiThe> ListLoaiThe = new List<LoaiThe>();


    public void GetLoaiThe()
    {
        ListLoaiThe = BALLoaiThe.GetAllItem();
        GridLoaiThe.DataSource = ListLoaiThe;
        GridLoaiThe.DataBind();
    }
}
